package com.college.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 成绩
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Getter
@Setter
@TableName("scores_info")
@ApiModel(value = "ScoresInfo对象", description = "成绩")
public class ScoresInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学号")
    @TableField("student_number")
    private String studentNumber;

    @ApiModelProperty("课表id")
    @TableField("schedule_id")
    private Integer scheduleId;

    @ApiModelProperty("考试成绩")
    @TableField("exam_scores")
    private String examScores;

    @ApiModelProperty("获得的学分")
    @TableField("credit")
    private Integer credit;


}
